import { get, post } from '@/utils/request'

export const list = (query) => {
  return get('/admin/enRecruit/list', query)
}

export const mechanism = (query) => {
  return post('/admin/mechanism/getUserList', query)
}

export const edit = (query) => {
  return post('/admin/enRecruit/edit', query)
}

export const disableAccount = (query) => {
  return post('/admin/enRecruit/disableAccount', query)
}

export const enableAccount = (query) => {
  return post('/admin/enRecruit/enableAccount', query)
}
